package cn.mily.user.constans;

/**
 * 微信登录常量
 */
public class   WechatConstans {
    /*重定向路径*/
    public static  final  String REDIRECT_URI = "https://open.weixin.qq.com/connect/qrconnect?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=snsapi_login&state=STATE#wechat_redirect ";
    /*id账号*/
    public static final String APPID = "wxd853562a0548a7d0";
    /**/
    public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
    /*回应网址*/
    public static final String ResURL = "http://bugtracker.itsource.cn/wechat/callback";
    /*根据code获取token*/
    public static final String ACCESSTOKENURL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
    /*获取个人信息url*/
    public static final String getWechatUserMsg = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";
}
